package com.atguigu.srb.oss;

import com.atguigu.srb.oss.config.OssProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
//@EnableConfigurationProperties(OssProperties.class)
@SpringBootApplication
@ComponentScan(basePackages = {
        "com.atguigu.srb.oss","com.atguigu.service.base","com.atguigu.guigu.common"}
)
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }
}
